﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Office.Tools.Ribbon;

namespace MidasPoster
{
    public partial class Ribbon1
    {
        private void Ribbon1_Load(object sender, RibbonUIEventArgs e)
        {

        }

        private void MP_Load_Login_Click(object sender, RibbonControlEventArgs e)
        {
            MP_LoginForm loginForm = new MP_LoginForm();
            loginForm.ShowDialog();
        }

        private void MP_Load_LogOut_Click(object sender, RibbonControlEventArgs e)
        {
            DBManager.Singleton.QuitSystem();
        }
    }
}
